<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>社交网站 - 底部Footer</title>
    <!-- 引入Bootstrap 5 -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- 引入Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #1877F2;
            --primary-light: #E8F3FF;
            --secondary: #65676B;
            --light-bg: #F0F2F5;
            --dark-bg: #1C1E21;
            --text-light: #8A8D91;
            --text-white: #FFFFFF;
            --border-color: #2F3336;
        }
        
        body {
            font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            padding-bottom: 50px; /* 为固定底部留出空间 */
        }
        
        /* 底部区域 */
        .site-footer {
            background-color: var(--dark-bg);
            color: var(--text-light);
            padding: 40px 0 20px;
            margin-top: 50px;
        }
        
        /* 功能链接区域 */
        .footer-links {
            margin-bottom: 30px;
        }
        
        .footer-title {
            color: var(--text-white);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary);
        }
        
        .link-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .link-list li {
            margin-bottom: 0.75rem;
        }
        
        .link-list a {
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .link-list a:hover {
            color: var(--primary);
            padding-left: 5px;
        }
        
        /* 运营信息区域 */
        .contact-info {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .contact-info i {
            width: 24px;
            color: var(--primary);
            margin-right: 10px;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-white);
            transition: all 0.3s;
        }
        
        .social-link:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }
        
        /* 版权信息区域 */
        .copyright {
            padding-top: 20px;
            margin-top: 20px;
            border-top: 1px solid var(--border-color);
            text-align: center;
            font-size: 0.9rem;
        }
        
        /* 回到顶部按钮 */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 100;
        }
        
        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .footer-col {
                margin-bottom: 30px;
            }
            
            .footer-col:last-child {
                margin-bottom: 0;
            }
        }
    </style>
</head>
<body>
    <!-- 主内容区占位 -->
    <div style="height: 1000px; padding: 20px;">
        <h1>网站主内容区</h1>
        <p>向下滚动查看底部footer...</p>
    </div>
    
    <!-- 底部Footer -->
    <footer class="site-footer">
        <div class="container">
            <div class="row">
                <!-- 功能链接 -->
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">快速链接</h3>
                    <ul class="link-list">
                        <li><a href="#"><i class="fas fa-angle-right me-1"></i>关于我们</a></li>
                        <li><a href="#"><i class="fas fa-angle-right me-1"></i>帮助中心</a></li>
                        <li><a href="#"><i class="fas fa-angle-right me-1"></i>隐私政策</a></li>
                        <li><a href="#"><i class="fas fa-angle-right me-1"></i>用户协议</a></li>
                        <li><a href="#"><i class="fas fa-angle-right me-1"></i>社区规范</a></li>
                        <li><a href="#"><i class="fas fa-angle-right me-1"></i>加入我们</a></li>
                    </ul>
                </div>
                
                <!-- 运营信息 -->
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">联系我们</h3>
                    <div class="contact-info">
                        <i class="fas fa-phone-alt"></i>
                        <span>客服电话：400-123-4567</span>
                    </div>
                    <div class="contact-info">
                        <i class="fas fa-envelope"></i>
                        <span>邮箱：support@socialcircle.com</span>
                    </div>
                    <div class="contact-info">
                        <i class="fas fa-clock"></i>
                        <span>工作时间：周一至周日 9:00-22:00</span>
                    </div>
                    
                    <h3 class="footer-title mt-4">关注我们</h3>
                    <div class="social-links">
                        <a href="#" class="social-link" title="微信"><i class="fab fa-weixin"></i></a>
                        <a href="#" class="social-link" title="微博"><i class="fab fa-weibo"></i></a>
                        <a href="#" class="social-link" title="抖音"><i class="fab fa-tiktok"></i></a>
                        <a href="#" class="social-link" title="小红书"><i class="fas fa-book"></i></a>
                    </div>
                </div>
                
                <!-- 微信公众号 -->
                <div class="col-md-4 footer-col">
                    <h3 class="footer-title">微信公众号</h3>
                    <div style="background-color: white; width: 160px; height: 160px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;">
                        <span style="color: var(--dark-bg);">公众号二维码</span>
                    </div>
                    <p>扫码关注获取最新资讯和福利</p>
                </div>
            </div>
            
            <!-- 版权信息 -->
            <div class="copyright">
                <p>©2023 社交圈 SocialCircle 版权所有 | 京ICP备12345678号-1</p>
            </div>
        </div>
    </footer>
    
    <!-- 回到顶部按钮 -->
    <div class="back-to-top" id="backToTop">
        <i class="fas fa-arrow-up"></i>
    </div>
    
    <!-- 引入Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 回到顶部按钮
            const backToTopBtn = document.getElementById('backToTop');
            
            // 滚动事件监听
            window.addEventListener('scroll', function() {
                // 当滚动超过300px时显示回到顶部按钮
                if (window.pageYOffset > 300) {
                    backToTopBtn.classList.add('visible');
                } else {
                    backToTopBtn.classList.remove('visible');
                }
            });
            
            // 点击回到顶部
            backToTopBtn.addEventListener('click', function() {
                window.scrollTo({
                    top: 0,
                    behavior: 'smooth' // 平滑滚动
                });
            });
            
            // 为所有链接添加点击效果
            const footerLinks = document.querySelectorAll('.link-list a, .social-link');
            footerLinks.forEach(link => {
                link.addEventListener('click', function(e) {
                    e.preventDefault();
                    // 实际项目中这里会跳转到对应页面
                    const linkText = this.textContent.trim() || this.title;
                    console.log(`点击了：${linkText}`);
                });
            });
        });
    </script>
</body>
</html>
    